home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 14
/
014.d81
/
xdos creator
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
42 lines
10 m=64:print"[147][204][207][193][196][201][206][199] [216][196][207][211]"
20 m$="c":ifm=64thenm$="a"
30 forq=150to230step10:c=0:print".";:
40 readadd$,mem$,csum
50 h$=add$:gosub140:add=d
60 h$=left$(mem$,2):ifh$=""goto110
70 ifleft$(mem$,1)="*"thenh$=m$+right$(h$,1):r=1
80 mem$=mid$(mem$,3)
90 gosub140:pokeadd,d:ifr=0thenc=c+d
100 add=add+1:r=0:goto60
110 ifcsum<>cthenprint"error in line";q:end
111 next
112 print:print:print"[201]nsert the initialized disk which is to"
114 print"contain [216][196][207][211]. [208]ress a key when ready."
115 print" <'q' to [197]xit>"
116 poke198,0:wait198,1:getk$:poke198,0
118 ifk$="q"ork$="[209]"then63000
120 print"[211]aving [216][196][207][211] ..."
130 poke43,58:poke44,3:poke45,0:poke46,4:save"xdos",8,1
131 poke44,8:poke43,1:poke45,007: poke46,14:clr
133 print"[215]ould you like another ?";
134 poke198,0:wait198,1:geta$:ifa$<>"n"anda$<>"y"thenpoke53280,rnd(1)*15:goto134
135 printa$:ifa$="y"then112
136 goto63000
140 d=0:fori=1tolen(h$):j=asc(mid$(h$,i,1))-48
145 d=16*d+j+(j>9)*7:next:return
150 data33c,ad050385fda9038d0503ad040385fca9518d040360ad0002,2122
160 data354,c926f0036cfc00a201e8bd0002c921b0f8ca86fb2044*6a9,2942
170 data36c,002090ffa90ea208a00020baffa5fba201a00220bdffa900,2803
180 data384,a62ba42c865f846020d5ff9004aa4c37*4862d842e862f84,2493
190 data39c,3086318432a900a02791318810fba006b9f80391318810f8,2574
200 data3b4,a200a008e88a9131c8a902913188cae8bd0002c921b0f848,2950
210 data3cc,8a38f131889131c8c8c8c868d0dea9281865319002e63285,3090
220 data3e4,31208e*62033*5ad0102c924d0034cc3*64cae*741d22800,1766
230 data3fc,01000b,12
63000 rem connect to loadstar
63002 print"[147] [205]ake sure your [204][207][193][196][211][212][193][210] disk is in the"
63004 print"drive. [208]ress a key when you're ready."
63006 poke198,0:wait198,1:poke198,0
63010 print"[147]load"chr$(34)"payload"chr$(34)",8":print"run"
63020 poke631,13:poke632,13:poke198,2:end